// 组织架构的路由规则
import Layout from '@/layout'
export default {
  path: '/departments',
  name: 'departments',
  component: Layout,
  children: [{
    path: '',
    name: 'departments',
    component: () => import('@/views/departments/index'), // 动态引入
    meta: { // 路由元信息
      title: '组织架构',
      icon: 'tree'
    }
  }]
}
